package com.curso.lab1.dao.intf;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


public interface GenericDAO<T, ID extends Serializable> {

	public List<T> getAll();

    public T get(ID id);

    public boolean exists(ID id);

    public T save(T object);

    public void delete(ID id);

    public List<T> findByNamedQuery(String queryName, Map<String, Object> queryParams);

}
